package main

import (
	"fmt"
	"sort"
)

func minimumAverage(nums []int) float64 {
	sort.Ints(nums)
	avg := make([]float64, len(nums)/2)
	length := len(nums)
	for i := 0; i < len(nums)/2; i++ {
		avg[i] = float64(nums[i]+nums[length-1]) / 2
		length--
	}
	sort.Float64s(avg)
	return avg[0]
}

func main() {
	fmt.Println((1 + float64(2)) / 4)
}
